#ifndef __losor_object_h__
#define __losor_object_h__

#include <event.h>
#include <database.h>
#include <inttype.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _obj_exe
{
    char *lib_path;
    char *func;
    char *version;
    char *desc;
} obj_exe;

typedef struct _obj_event
{
    int64 id;
    char *name;
    obj_exe exe;
} obj_event;

typedef struct _obj_relate_make
{
    obj_event *src;
    obj_event *dest;
} obj_relate_make;

#ifdef __cplusplus
};
#endif

#endif // __losor_object_h__
